package com.xueyi.system.BaseRecruitWork.domain.po;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.xueyi.system.BaseRecruitWork.domain.dto.BaseRecruitWorkDto;
import com.baomidou.mybatisplus.annotation.TableField;
import com.xueyi.common.core.annotation.Excel;

/**
 * 用工记录 持久化对象
 *
 * @author xueyi
 */
@TableName(value = "base_recruit_work", excludeProperty = {"sort","status"})
public class BaseRecruitWorkPo extends TBaseEntity {

    private static final long serialVersionUID = 1L;

    /** 员工编码 */
@Excel(name = "员工编码")
@TableField("code")
private String code;

    /** 用户时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Excel(name = "用户时间", width = 30, dateFormat = "yyyy-MM-dd")
@TableField("date")
private LocalDateTime date;

    /** 到岗时间 */
@JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
@Excel(name = "到岗时间", width = 30, dateFormat = "HH:mm:ss")
@TableField("come_time")
private LocalDateTime comeTime;

    /** 离岗时间 */
@JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
@Excel(name = "离岗时间", width = 30, dateFormat = "HH:mm:ss")
@TableField("quit_time")
private LocalDateTime quitTime;

    /** 用工时间 */
@Excel(name = "用工时间")
@TableField("use_time")
private String useTime;

    /** 单价/元/工时 */
@Excel(name = "单价/元/工时")
@TableField("cost")
private BigDecimal cost;

    /** 金额 */
@Excel(name = "金额")
@TableField("price")
private BigDecimal price;

    /** 健康状况（1优 2良）质量评价 */
@Excel(name = "健康状况", readConverterExp = "1=优,2=良")
@TableField("appraise")
private String appraise;

public void setCode(String code) {
    this.code = code;
}

public String getCode() {
    return code;
}

public void setDate(LocalDateTime date) {
    this.date = date;
}

public LocalDateTime getDate() {
    return date;
}

public void setComeTime(LocalDateTime comeTime) {
    this.comeTime = comeTime;
}

public LocalDateTime getComeTime() {
    return comeTime;
}

public void setQuitTime(LocalDateTime quitTime) {
    this.quitTime = quitTime;
}

public LocalDateTime getQuitTime() {
    return quitTime;
}

public void setUseTime(String useTime) {
    this.useTime = useTime;
}

public String getUseTime() {
    return useTime;
}

public void setCost(BigDecimal cost) {
    this.cost = cost;
}

public BigDecimal getCost() {
    return cost;
}

public void setPrice(BigDecimal price) {
    this.price = price;
}

public BigDecimal getPrice() {
    return price;
}

public void setAppraise(String appraise) {
    this.appraise = appraise;
}

public String getAppraise() {
    return appraise;
}

}
